package cn.wolfcode.util;

import java.util.Calendar;
import java.util.Date;

public class DateUtil {
    public static Date getDate(Date date){
        if (date == null) {
            return null;
        }
        Calendar c = Calendar.getInstance();
        c.setTime(date);
        c.add(c.DATE,1);//把日期往后增加一天.整数往后推,负数往前移动
        return c.getTime();

    }
}
